/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package be.ugent.medirem.logic;

import be.ugent.medirem.persistence.facade.AdministratorDaoLocal;
import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author Thomas Roelens
 */
@Stateless
public class AdminBean implements AdminRemote {
    @EJB
    private AdministratorDaoLocal administratorDaoBean;

    public Long createAdmin(String username, String password) throws IllegalArgumentException {
        return administratorDaoBean.createAdmin(username, password);
    }
    

 
}
